package com.ftg.product.shoumai.mapper;

import com.ftg.product.shoumai.pojo.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author zwl
 * Create on 2019/8/23 15:48
 * function
 */
@Mapper
public interface OrderMapper {
    @Select("select * from orderadd")
    List<Order> showall(Order pageH);
    @Insert("insert into orderadd(uname,unumber,uadress,upay,uemail,umiaoshu,utime) values(#{uname},#{unumber},#{uadress},#{upay},#{uemail},#{umiaoshu},#{utime})")
    public int insert(Order order);
}
